'''
数据的定义
'''


class Record:

    def __init__(self,date,order_id,money,province) -> None:
        self.date = date            # 日期
        self.order_id = order_id    # 订单id
        self.money = money          # 收入
        self.province = province    # 省份

    # 当想让对象以字符串的形式展现时
    def __str__(self):
        return f"{self.date},{self.order_id},{self.money},{self.province}"
